package org.example.model.forum.pojo;
/**
 * 文章表
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@TableName("passage")
public class Passage implements Serializable {
    @TableId(value = "pk_id",type = IdType.INPUT)
    private Integer pkId;
    private String context;
    private String image1;
    private String image2;
    private String image3;
    private String image4;
    private String image5;
    private String image6;
    private Integer authorId;
    private String authorName;
    private String avatar;
    private Date publishTime;
    private Integer likeCount;
    private Integer count;
    private Integer commentCount;
    private String state;
    private Double score;

}
